package chapter9.section1;

import java.util.Comparator;

/**
 * 程序 9-1：实现部分 Comparator 接口
 */
class TryComparator implements Comparator<Long> {
    public int compare(Long num1, Long num2) {
        return num1.compareTo(num2);
    }
}
